<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>

<f:subview id="adviceBanner">
<h:panelGrid columns="1" border="0" width="100%" bgcolor="#336666" 
		cellpadding="1" cellspacing="0" style="text-align:center"
		rendered="#{accountBean.loggedin && accountBean.account.bannerOption}">
  <h:graphicImage url="images/#{accountBean.adviceBannerMap[accountBean.account.favoriteCategoryId]}"/>
</h:panelGrid>
</f:subview>
  	